'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
    //event为客户端上传的参数
	const collection = db.collection('wqy')
	// const res = await collection.where({
	// 	age : event.age,
	// 	name: event.name,
	// }).limit(2).get()
	
	const res = await collection.limit(10).get()
	return res
}